$OpenBSD: patch-remmina-plugins_rdp_rdp_plugin_c,v 1.2 2017/04/17 07:31:50 jasper Exp $

Build with freerdp >=1.2.

--- remmina-plugins/rdp/rdp_plugin.c.orig	Mon Dec  8 21:29:27 2014
+++ remmina-plugins/rdp/rdp_plugin.c	Sun Apr 16 21:33:38 2017
@@ -257,7 +257,7 @@ static BOOL remmina_rdp_pre_connect(freerdp* instance)
 		settings->LargePointerFlag = True;
 		settings->PerformanceFlags = PERF_FLAG_NONE;
 
-		rfi->rfx_context = rfx_context_new();
+		rfi->rfx_context = rfx_context_new(FALSE);
 	}
 
 	freerdp_client_load_addins(instance->context->channels, instance->settings);
@@ -1186,7 +1186,6 @@ G_MODULE_EXPORT gboolean remmina_plugin_entry(RemminaP
 
 	remmina_rdp_settings_init();
 	freerdp_handle_signals();
-	freerdp_channels_global_init();
 
 	return TRUE;
 }
